<?php
if ($message = $lia->getRedirectMessage()){
//ideally, this would be set to some value that the theme can use
//Then it's up to the theme to display important messages, instead of the individual script.
//That also means there's more setup required in order to use the User App
//So I'm thinking... maybe it would be better to just print it here.
//I could also make a theme for the User app which would have the message box
//Then that theme would be shown inside the site theme
// but then I have to set up app-specific theming that can stack with other apps' themes.
echo "<div class='message'>{$message}</div>";
}
echo $content;